﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DatabaseCore
{
    public interface IOrderDetailDao
    {
        bool Insert(List<tbl_OrderDetail> entity);
        bool Update(List<tbl_OrderDetail> entity, string orderNo, string userName);
        IList<tbl_OrderDetail> SearchByOrderNo(string orderNo);

        tbl_OrderDetail GetOrderDetail(string orderNo, int itemNo);
        bool UpdateReceivedQty(string orderNo, int itemNo, int receivedQty, string updateBy, int? approvedQty, string plant);
    } 
}
